<h1>EDITAR ASPIRANTE DATOS DEL FAMILIAR</h1>
<?php
echo $form->create('RelativeReview');
?>

<fieldset>
    <?php
    echo $form->hidden("Relative.id");
    echo $form->hidden("Relative.candidate_id");
    echo $form->input('Relative.parentesco', array('empty' => __('Seleccione ', true), 'label' => "Parentesco", 'type' => 'select', 'id' => 'parent', 'options' => array(1 => 'Hijo(a)', 2 => 'Hijastro(a)', 3 => 'Padre', 4 => 'Madre', 5 => 'Abuelo(a)', 6 => 'Nieto(a)', 7 => 'Primo(a)', 8 => 'Sobrino(a)', 9 => 'Conyugue', 10 => 'Hermano(a)', 11 => 'Otro')));
    echo $form->input('Relative.tipo_ident', array('label' => "Tipo identificación", 'type' => 'select', 'options' => array(1 => 'C.C', 2 => 'T.I', 3 => 'Registro civil', 4 => 'NUI')));
    echo $form->input("Relative.nro_ident", array());
    echo $form->input("Relative.nombres", array());
    echo $form->hidden("Relative.candidate_id", array());
    echo $form->input("Relative.1er_apellido", array());
    echo $form->input("Relative.2do_apellido", array());
    echo $form->input('Relative.genero', array('empty' => __('Seleccione ', true), 'label' => "Genero", 'type' => 'select', 'selected' => $this->data['Relative']['genero'], 'options' => array(1 => 'Hombre', 2 => 'Mujer')));
    ?>

</fieldset>



<fieldset>
    <legend><h2>OBSERVACIONES SOBRE LA REVISIÓN</h2></legend>
    <?php echo $form->input("RelativeReview.concepto", array('label' => '', 'class' => 'txtarea')); ?>
<?php// echo $form->input("RelativeReview.calificacion", array('label' => 'Calificación', 'options' => array('empty' => 'Seleccione', 'Cumple' => 'Cumple', 'Subsanable' => 'Subsanable'))); ?>
</fieldset>

<?php
echo $ajax->submit('Guardar', array('url' => array('controller' => 'relativeReviews', 'action' => 'add', $this->data['Relative']['id']), 'update' => 'content', 'indicator' => 'loading'));
echo $form->end();
?>
<br><br>
<br>
<?php
echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'candidateReviews', 'action' => 'index', $this->data['Candidate']['id']), array('update' => 'content', 'indicator' => 'loading', 'escape' => false));
?>
<br>   